namespace CSharpPro._0929;

public class Demo3
{
    public static void Run()
    {
        for (int n = 100; n < 1000; n++)
        {
            int a = n / 100;
            int b = (n / 10) % 10;
            int c = n % 10;
            if (a * a * a + b * b * b + c * c * c == n)
            {
                Console.WriteLine(n);
            }
        }
        
    }
}